-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand pm.Data capacities #3925
Expand pm.Data capacities #3925
Conversation
…nput data (previously all input data was coerced to float) WIP for pymc-devs#3813
…into hottwaj-add-dtype-to-data Fixed merge conflict between hottwaj PR and upstream master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @AlexAndorra! I left some comments throughout the changed you made. What I think is the most important point that should be addressed is the default dtype. I think that it should be theano.config.floatX
for floats and the corresponding intX
dtype for ints. You can take a look at our intX
function to find the mapping that we use to set the integer dtype based on theano's floatX.
I have nothing to add - Lucianos point on intX/float is important and the rest looks good 👍 |
Thanks for the reviews @lucianopaz and @michaelosthege ! |
You mean the pipeline for commit 0d07347 ? It fails on a test that doesn't sound related: |
Ok, this was more complicated than I expected, but I think I understood the problem and figured out a more parcimonious implementation in the process. Tests pass locally -- if they pass on Travis too, this means it's ready for review 🍾 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch @AlexAndorra!
This PR expands on @hottwaj's work in #3816. Now,
pm.Data
can:This is ready for review -- thanks a lot in advance for the reviews 🖖